package com.sjd.mall.domain.dto.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * 订单号
 *
 * @author seer
 * @version 1.0
 * @date 2022/1/13 15:37
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
@ApiModel
public class OrderNoRequestDTO {

    @ApiModelProperty(
            value = "订单号",
            required = true
    )
    @NotBlank(message = "orderNo is null")
    private String orderNo;
}